import {Injectable} from '@angular/core';

@Injectable()
export class LoginAutherService {

  constructor() {
  }

  get isLogin(): boolean {
    return !!sessionStorage.getItem('username');
    // return sessionStorage.getItem('username') === '' ? false : true;
  }

}
